package com.drinkdelivery.common.domain;

import java.util.Date;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.drinkdelivery.common.annotation.Excel;
import com.drinkdelivery.common.core.domain.BaseEntity;

/**
 *  商品规格值对象 product_spec_value
 *
 * @author lzh
 * @date 2024-11-08
 */
@Data
@ApiModel(description = " 商品规格值实体类")
@TableName("product_spec_value")
public class ProductSpecValue
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 对应的规格 ID */
    @Excel(name = "对应的规格 ID")
    private Long specId;
    /** 规格值，如 "红色" 或 "大号" */
    @Excel(name = "规格值，如 红色 或 大号")
    private String value;
    /** 逻辑删除标记，0-未删除，1-已删除 */
    @Excel(name = "逻辑删除标记，0-未删除，1-已删除")
    private Integer isDeleted;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

}
